import { ApiProperty } from '@nestjs/swagger';
import { Message } from 'src/entities/message.entity';
import { User } from 'src/entities/user.entity';

export class GetUserMessage {
  @ApiProperty({ default: '111' })
  userId: string;
  @ApiProperty({ default: '22' })
  friendId: string;
}

export interface ResultUserMessageModel {
  friend: User;
  messages: Message[];
}
